const path = require("path");

module.exports = {
  rootDir: "src",
  outDir: "dist",
  alias: {
    "@/package": path.resolve(__dirname, "..", "package"),
    "@/components": path.resolve(__dirname, "..", "src/components"),
    "@/api": path.resolve(__dirname, "..", "src/service/api"),
    "@/service": path.resolve(__dirname, "..", "src/service"),
    "@/assets": path.resolve(__dirname, "..", "src/assets"),
    "@/utils": path.resolve(__dirname, "..", "src/utils"),
    "@/actions": path.resolve(__dirname, "..", "src/actions"),
    "@/constants": path.resolve(__dirname, "..", "src/constants"),
    "@/images": path.resolve(__dirname, "..", "src/assets/images"),
    "@/report": path.resolve(__dirname, "..", "src/utils/report"),
    "@/type": path.resolve(__dirname, "..", "src/service/types"),
    "@/config": path.resolve(__dirname, "..", "src/config"),
    "@/service-types": path.resolve(__dirname, "..", "src/service/types"),
    "@/hooks": path.resolve(__dirname, "..", "package/hooks"),
    "@/activePackage": path.resolve(__dirname, "..", "src/activePackage"),
  },
  env: {
    BUILD_TIME: new Date().getTime(),
  },
};
